﻿using Microsoft.EntityFrameworkCore.Metadata.Internal;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;

namespace Schedulingclasses.Infrastructure
{
    public interface IBaseRepository<T> where T : class
    {
        Task<int> AddAync(T t);
        Task<int> Update(T t);
        Task<T> GetValue(Expression<Func<T, bool>> exp);
        IQueryable<T> Getlist();
    }
}
